package com.gilgamesh.mall.product.service;

import com.gilgamesh.mall.sdk.bean.product.ClassficEntity;
import com.gilgamesh.mall.sdk.dto.ResponseDTO;
import com.gilgamesh.mall.sdk.dto.product.ClassficDTO;

import java.util.List;

/**
 * @author yanm
 * @date 2021/1/11 14:09
 **/
public interface ClassficService {

    ResponseDTO<Integer> addClassfic(ClassficEntity classficEntity);

    ResponseDTO<ClassficDTO> getClassficById(Long id);

    ResponseDTO<List<ClassficDTO>> listClassfics(ClassficEntity classficEntity);

    ResponseDTO<ClassficDTO> listTreeById(Long id);

    ResponseDTO<List<ClassficDTO>> listTree();
}
